﻿using System;
using System.Web.Mvc;

namespace Heng.Elements.Demo.Areas.ERD
{
    public class ERDAreaRegistration : AreaRegistration
    {
        public override string AreaName
        {
            get
            {
                return "ERD";
            }
        }

        public override void RegisterArea(AreaRegistrationContext context)
        {
            context.MapRoute(
                "ERD_default",
                "ERD/{controller}/{action}/{id}",
                new { controller = "Designer", action = "Layout", id = UrlParameter.Optional }
            );
        }
    }
}
